package entry;

import controller.StudentController;
import controller.TeacherController;

import java.util.Scanner;

public class StudentEntry {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println("-------欢迎来到黑马管理系统------");
        System.out.println("请输入您的选择：1.学生管理系统  2.老师管理系统  3.退出");
        String choice = sc.next();
        switch (choice) {
            case "1":
                StudentController studentController = new StudentController();
                studentController.start();
                break;
            case "2":
                TeacherController teacherController = new TeacherController();
                teacherController.Teacherstart();
            case "3":
                System.out.println("感谢您的使用");
                System.exit(0);
                break;
            default:
                System.out.println("您输入有误，请重新输入");
                break;
        }
    }
}
